// run: $exec < input
#include <iostream>
#include <string>

std::string const first{"Timur"};
std::string const second{"Marsel"};
int n, m, k;

bool can_gnaw(int m, int k)
{
	if (k == 1) return m > 1;
	for (int i = 2; i * i <= m; i++)
		if (!(m % i) && (i >= k || (m/i) >= k))
			return true;
	return false;
}

int main()
{
	std::cin >> n >> m >> k;
	if (n & 1) {
		if (can_gnaw(m, k))
			std::cout << first << '\n';
		else
			std::cout << second << '\n';
	} else {
		std::cout << second << '\n';
	}
}

